/*
 * Creation : 12/09/2013
 */
/**
 * 
 */
package com.japcatalog.model;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;

/**
 * Class modeling a catalog.
 * 
 * @author Fernando Ariel Perelli
 */
public class Catalog implements Serializable {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -783992294453410991L;

	/** The catalog id. */
	private Long catalogId;

	/** The models. */
	private Collection<Model> models;

	/** The creation date. */
	private Date creationDate;

	/** The last modification. */
	private Date lastModification;

	/** The catalog name. */
	private String catalogName;

	/** The catalog description. */
	private String catalogDescription;

	public Catalog() {
	}

	/**
	 * Gets the catalog id.
	 * 
	 * @return the catalog id
	 */
	public Long getCatalogId() {
		return catalogId;
	}

	/**
	 * Sets the catalog id.
	 * 
	 * @param catalogId
	 *            the catalog id
	 */
	public void setCatalogId(Long catalogId) {
		this.catalogId = catalogId;
	}

	/**
	 * Gets the models.
	 * 
	 * @return the models
	 */
	public Collection<Model> getModels() {
		return models;
	}

	/**
	 * Sets the models.
	 * 
	 * @param models
	 *            the models
	 */
	public void setModels(Collection<Model> models) {
		this.models = models;
	}

	/**
	 * Gets the creation date.
	 * 
	 * @return the creation date
	 */
	public Date getCreationDate() {
		return creationDate;
	}

	/**
	 * Sets the creation date.
	 * 
	 * @param creationDate
	 *            the creation date
	 */
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	/**
	 * Gets the last modification.
	 * 
	 * @return the last modification
	 */
	public Date getLastModification() {
		return lastModification;
	}

	/**
	 * Sets the last modification.
	 * 
	 * @param lastModification
	 *            the last modification
	 */
	public void setLastModification(Date lastModification) {
		this.lastModification = lastModification;
	}

	/**
	 * Gets the catalog name.
	 * 
	 * @return the catalog name
	 */
	public String getCatalogName() {
		return catalogName;
	}

	/**
	 * Sets the catalog name.
	 * 
	 * @param catalogName
	 *            the catalog name
	 */
	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}

	/**
	 * Gets the catalog description.
	 * 
	 * @return the catalog description
	 */
	public String getCatalogDescription() {
		return catalogDescription;
	}

	/**
	 * Sets the catalog description.
	 * 
	 * @param catalogDescription
	 *            the catalog description
	 */
	public void setCatalogDescription(String catalogDescription) {
		this.catalogDescription = catalogDescription;
	}

}
